package com.huadi.ssm.dao;

import com.huadi.ssm.po.Applyrecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApplyrecordMapper {
    public int addApplyrecord(@Param("evidenceId") String evidenceId,@Param("evidenceState")String evidenceState,@Param("submitterId") String submitterId,@Param("submitterName") String submitterName);
    public int deleteApplyrecordById(@Param("evidenceApplyId") int evidenceApplyId);
    public int updateApplyrecord(Applyrecord applyrecord);
    public Applyrecord findApplyrecordById(@Param("evidenceApplyId") int evidenceApplyId );
    public List<Applyrecord> findAllApplyrecord();
    public List<Applyrecord> findAllApplyrecordForONE(@Param("submitterId") String submitterId);
    public int checkApply(@Param("evidenceApplyId") int evidenceApplyId,@Param("judgerId")String judgerId,@Param("judgerName")String judgerName,@Param("judge") String judge,@Param("judgeReason") String judgeReason);

}

